﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TestPlatform.Core.Impl
{
    internal class ConsoleRenderer : IResultRenderer
    {
        public void Render(TestResult result)
        {
            foreach (var p in result.Result)
            {
                Console.WriteLine("{0} - {1} results", p.Key.UnderlyinEngine, p.Key.OperationType);

                foreach (var r in p.Value)
                {
                    Console.WriteLine("Instance size: {0}, time: {1}", r.Key, r.Value);
                }
            }
        }
    }
}
